package com.xsir.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 留言本
 * </p>
 *
 * @author xsir
 * @since 2020-11-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Guestbook implements Serializable {

    private static final long serialVersionUID = 1L;
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    /**
     * 用户id
     */
    private Long uid;

    /**
     * 留言的内容
     */
    private String content;

    /**
     * 留言的时间
     */
    private LocalDateTime date;

    /**
     * 留言的状态
     */
    private Integer status;


}
